//
//  UILabel+BasicAttributes.h
//  MonitoringNetwork
//
//  Created by admin on 2017/12/4.
//  Copyright © 2017年 wtmcxlm. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, ZZTextAlignment) {
    ZZTextAlignmentLeft = 0,
    ZZTextAlignmentRight = 1,
    ZZTextAlignmentCenter = 2
};

@interface UILabel (BasicAttributes)


/// 普通Label
/// @param font 字体
/// @param color 颜色
/// @param textAlignment 居中位置
+ (UILabel *)LabelWithFont:(UIFont *)font
                  titleColor:(UIColor *)color
          textAlignment:(ZZTextAlignment)textAlignment;

/// 带默认文字Label
/// @param font 字体
/// @param color 颜色
/// @param textAlignment 位置
/// @param title 占位文字
+ (UILabel *)LabelWithString:(NSString *)title
                        Font:(UIFont *)font
                  titleColor:(UIColor *)color
                textAlignment:(ZZTextAlignment)textAlignment;
                

/// 下划线Label
/// @param font 字体
/// @param color 颜色
/// @param textAlignment 位置
/// @param title 位置
+ (UILabel *)LineLabeltring:(NSString *)title
                        Font:(UIFont *)font
                    titleColor:(UIColor *)color
                textAlignment:(ZZTextAlignment)textAlignment;

@end
